固定された投稿
固定された投稿
固定された投稿
固定された投稿
固定された投稿

> 4文字あたり1セント
> 10語につき25セント
(23%)

1845年頃、アメリカで商売が始まった当初の相場。ここから20年ちょいで日本にまで来るんだ。

スレッドを表示

実機では動かせなかったけどこれをこうしてこうじゃ、の流れでニコニコしてしまった

スレッドを表示
sonota88 さんがブースト

> この修正はすでにマージされており、Ruby 3.5からはデッドロック時にバックトレースが表示されるようになります。

スレッドを表示
sonota88 さんがブースト

おー、Mastodonにおける引用機能の開発状況についてのエントリが来てる。引用対象の制限や引用された投稿の切り離しを検討しているあたり、やはりBlueskyを参考にしているところがあるな。

そして、やるからにはActivityPubの仕様として作っていくつもりでいると。

/ Bringing Quote Posts to Mastodon - Mastodon Blog
blog.joinmastodon.org/2025/02/

ブログに書くまでもないかなーという小ネタで、目的はほぼ Gammo の紹介と使ってみてますよ報告みたいな感じ

スレッドを表示
sonota88 さんがブースト

GitHub代替のGitホスティングでオープンソースコミュニティ界隈から支持されているCodebergが極右勢力からのヘイト攻撃やスパムにさらされているらしい。今後他のコミュニティへの攻撃にも繋がってきたりするだろうか。
---
We stay strong against hate and hatred — Codeberg News
blog.codeberg.org/we-stay-stro

sonota88 さんがブースト

Ruby 3.4.2 Released ruby-lang.org/en/news/2025/02/

This is a routine update that includes bug fixes. We recommend upgrading your Ruby version at your earliest convenience.

sonota88 さんがブースト

A new release of ktistec that improves database performance is imminent. In the past, database optimization usually meant "fixing a bunch of poorly constructed queries", and I'm sure there's more of that to do—I'm not an expert. But this time, I found most of the queries were as good as they were going to get on my watch (I'm not an expert). If you have a million records and you need to filter and count them, that's just going to take some time...

So this time, I focused on caching the results of queries like that (which really means I focused on cache invalidation, right). A case in point is commit d544b1af. Previously, the nodeinfo endpoint filtered and counted posts on every request, and it took +80msec to do that. Worse, the filtering pushed everything else out of the sqlite page cache, which made the next, unrelated database query slow!

Caching this value, and only recounting when I post something, not only dropped the service time for the request to ~1msec but actually improved database performance, generally!

More to come...

#ktistec #fediverse #activitypub #crystallang

「これ10年前に思いついてればねー」っていうことばっかりやってる気がする😓

古いものを表示
Fedibird

様々な目的に使える、日本の汎用マストドンサーバーです。安定した利用環境と、多数の独自機能を提供しています。